#!/bin/sh
JAVA_HOME=/路径自己定义
JVM_OPTS="-server -Xms512m -Xmx1536m -XX:PermSize=64M -XX:MaxPermSize=512M"
find . -name "*.jar" > tmp
cp=''
while  read _jar; do
        cp=${_jar}:$cp
done < tmp
rm tmp
$JAVA_HOME/bin/java $JVM_OPTS -cp $1:$cp com.${company}.${projectName}.db.MainServer &